package com.jlkf.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestBody;

import com.platform.server.response.pojo.ReturnData;

public interface OrderItemsService {

	Object getMyuncompletedOrder(Long uId);
	Object driverGetMyuncompletedOrder(Long driverId);
	Object getHomePageEstimate(String mileage,String times,Long uId,String trafficJamTime,List<String> pointCharges,String departurePosition,String arrivedPosition);
	Object confirmTheOrder(String json);
	Object valuationRules();
	Object getMyBrank(Long uId);
	Object driverList(String lng, String lat, String cityName,Integer distance,Integer appraise,Integer singularNum
			   ,Integer pageNo,Integer pageSize,Integer carType);
	Object driverDetail(Long driverId);
	Object confirmTheOrdering(Long driverId,Long orderId,HttpServletRequest request);
	Object isReceiptList(Long orderId,Long driverId,Integer language);
	Object addWay(String json);
	Object getOrderDetail(Long orderId);
	Object cancelOrder(Long orderId,Integer language,String customer_ip,HttpServletRequest request);
	Object getCouponsIdQueryOrder(Long couponsId);
	Object getOrderStroke(Long orderId);
	Object getMyItinerary(Long uId,Integer pageNo,Integer pageSize);
	Object getMyItineraryNotShowDel(Long orderId);
	Object changeOrderStatus(Long orderId,Integer status,Integer driverId,Integer carType,Integer language,Long carId);
	Object normalCharge(Long orderId,Integer carType,Integer language);
	Object driverCancelOrder(Long orderId,String reason,Integer language,Long driverId,String customer_ip);
	Object getTheOrderPrice(String json);
	Object confirmTheBill( String json,HttpServletRequest request);
	Object driverOrderDetail(Long  orderId);
	Object driverOrder(Long  driverId,Integer pageNo,Integer pageSize);
	Object hasServicedriverOrderDetail(Long  orderId);
	Object selectById(Long  orderId);
	Object exceptionalTip(String json);
	String readTxtFile(Long orderId,Integer status,HttpServletRequest request);
	Double getGoogleMileage(String origins,String destinations);//去google计算里程
	//订单是否取消需要收费
	ReturnData usercancelOrderCount(Long orderId);
	ReturnData payLessThan(@RequestBody String json);
	ReturnData saveViaPoint(Long orderId,Integer type,Long uId);
	//
	ReturnData isNotConcierge(Double lng,Double lat, String cityName);
	/**
	 * 司机不接单 直接取消订单 无需接收惩罚
	 * @param orderId
	 * @param driverId
	 * @return
	 */
	ReturnData driverDidNotCancelOrder(Long orderId,Long driverId);
}
